<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>获取上传文件body内容</title>
    
	

  </head>
  
  <body>
  <form action=" reader.hrml" method="post" enctype="multipart/form-data">
  选择文件<input type="file"  name="filename"> 
  <input type="submit" name="file_submit"  value="提交"> 
  	
  </form>
  </body>
</html>
